package com.tezign.intelligence.mini.dam.aifamilyconsultant.bean.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.NonNull;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *
 * @Author ouyangkang
 * @date 2025/2/13
 */

@Data
@ApiModel("UserUpdateReq")
@AllArgsConstructor
@NoArgsConstructor
public class AdminUserCreateReq {
	@ApiModelProperty("用户角色")
	@NotBlank
	private String role;

	@ApiModelProperty("用户名称")
	@NotBlank
	private String name;

	@ApiModelProperty("所属家庭")
	@NotNull
	private Long activeFamilyId;

	@ApiModelProperty("默认密码")
	@NotBlank
	private String password;
}
